package com.firefly.admin.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "websocket.netty")
public class WebSocketProperties {
    /**
     * 端口号
     */
    private int port;
    /**
     * Netty 服务path
     */
    private String path;
    /**
     * Netty 消息帧最大体积
     */
    private int maxFrameSize;
}
